package entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 商品表实体类
 * @Author Daft_V
 * @Date 2022/5/5 22:55
 */
@Data
@TableName("shop_product")
public class Product {
    @TableId(type = IdType.INPUT)
    private Integer pid;
    private String pname;
    private Double pprice;
    private Integer stock;
}
